//
//  LJFCustom2Cell.m
//  SevenZhou
//
//  Created by qianfeng on 15/9/14.
//  Copyright (c) 2015年 ljf. All rights reserved.
//

#import "LJFCustom2Cell.h"

@implementation LJFCustom2Cell

- (void)awakeFromNib
{
    // Initialization code
    
    NSArray *arr = @[_imgView1,_imgView2,_imgview3,_imgView4,_imgView5,_imgView6,_imgView6,_imgView7,_imgView8];
    
    for (int i = 0; i<arr.count; i++)
    {
        UIImageView *imgView = arr[i];
        
        UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(click:)];
        
        [imgView addGestureRecognizer:tap];

    }
}

- (void)click:(UITapGestureRecognizer *)tap
{
    UIImageView *imgView = (UIImageView *)tap.view;
    
    [_myDelegate LJFCustomCellWith:self andImageTag:imgView.tag];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}



@end
